package com.xxg.renrensearch.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 获取商品
 *
 * @author xxg
 * @date 2021/11/26
 */
@Data
@ApiModel(value = "GetProductQuery", description = "获取商品")
public class GetProductQuery {
    @NotNull(message = "spuId不能为null")
    @ApiModelProperty(value = "商品spuId")
    private Integer spuId;
}